<template>
	<view>
		<userinfo v-if="token"></userinfo>
		<login v-else></login>
	</view>
</template>
<script>
	import login from '@/components/login/login.vue'
	import { mapState } from 'vuex';
	import {
		mapGetters
	} from 'vuex';
	export default {
		components: {
			login
		},
		computed: {
			...mapState('m_user', ['token'])
		},
		data() {
			return {

			};
		},
		methods:{
		
			
		}
	}
</script>

<style lang="scss">

</style>